<?php use_stylesheet('item.css') ?>
<?php slot('title', sprintf('%s - Weapon - Aion Tools Kits', $weapon->getId()));?>
<img 
  class="item_icon"
  src="/images/icons/<?php echo $weapon->getIconName() ?>.png"
	alt="<?php echo $weapon->getId() ?>_icon"
/>
<table class="item_description">
	<tbody>
		<tr>
      <td class="item_name" colspan="4"><?php echo $weapon->getId() ?></td>
    </tr>
    <tr>
 			<td class="item_label">Type</td>
 			<td colspan="3" class="item_value"><?php echo $weapon->getWeaponType() ?></td>
    </tr>
    <tr>
    	<td colspan="4" class="item_info">Available for Level <?php echo $weapon->getLevel() ?> or higher</td>
    </tr>

    <tr>
    	<td colspan="4">
        <hr class="item_hr"/>
      </td>
    </tr>

    <tr>
    	<td colspan="4" class="item_info">
        <?php echo $weapon->getItemType()." ".$weapon->getHitCount()?> Strike Weapon
    	</td>
    </tr>
    <tr>
 			<td class="item_label">Attack (min-max)</td>
 			<td class="item_value"><?php echo $weapon->getMinDamage()." - ".$weapon->getMinDamage() ?></td>
    </tr>
    <tr>
 			<td class="item_label">Atk Speed</td>
 			<td class="item_value"><?php echo ($weapon->getAttackDelay()/1000) ?></td>
 			<td class="item_label">Acc.</td>
 			<td class="item_value"><?php echo $weapon->getHitAccuracy()?></td>
    </tr>
    <tr>
 			<td class="item_label">Crit Strike</td>
 			<td class="item_value"><?php echo $weapon->getCritical()?></td>
 			<td class="item_label">Parry</td>
 			<td class="item_value"><?php echo $weapon->getParry()?></td>
    </tr>
    <tr>
 			<td class="item_label">Magical Acc</td>
 			<td class="item_value"><?php echo $weapon->getMagicalHitAccuracy() ?></td>
    </tr>
    
    <tr>
    	<td colspan="4">
        <hr class="item_hr"/>
      </td>
    </tr>

    <tr>
      <tr>
        <td colspan="4"> <!-- @todo : Lister les Bonus ATT --></td>
      </tr>
    </tr>
	</tbody>
</table>

<a href="<?php echo url_for('weapon_list') ?>">Go back to the Weapons List</a>
